package com.sbtr.business.calibration.service;

import com.sbtr.open.calibration.dto.CalibrationDetailsDto;
import com.sbtr.open.calibration.dto.CalibrationTxtEntityMapDto;
import org.springframework.web.bind.annotation.*;

import java.util.List;

public interface ICalibrationTxtEntityMapService {

    CalibrationTxtEntityMapDto saveTxtEntityLabels(Long calibrationDetailsId,
                                                          CalibrationTxtEntityMapDto dto);

    List<CalibrationTxtEntityMapDto> batchSaveTxtEntityLabels(Long calibrationDetailsId,
                                                                     List<CalibrationTxtEntityMapDto> dtos);

    List<CalibrationTxtEntityMapDto> loadOneTxtEntityLabels(Long txtId);

    boolean updateCalibrationTxtEntity(Long txtId);

    boolean updateCalibrationImgCount(Long calibrationId);

    boolean updateCalibrationDetailsImgCount(CalibrationDetailsDto calibrationDetailsDto);

    boolean updateCalibrationTxtEntityRecordDaily(CalibrationDetailsDto calibrationDetails);

}
